<?php
ini_set( 'display_errors', 'On' );
error_reporting( E_ALL );

include_once getcwd() . '/Registry.php';

$myVariable = 'Sohail';

Registry::set('myVariable', $myVariable);

$myNewVariable = Registry::get('myVariable');

var_dump($myVariable === $myNewVariable); echo '<br />';

echo 'Everything ok';